<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: Macros</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__seglcd__macros.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">Macros<div class="ingroups"><a class="el" href="group__group__seglcd.html">SegLCD       (Segment LCD)</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga9b9c793d300f9f6368c658f462a243ac"><td class="memItemLeft" align="right" valign="top"><a id="ga9b9c793d300f9f6368c658f462a243ac"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__seglcd__macros.html#ga9b9c793d300f9f6368c658f462a243ac">CY_SEGLCD_DRV_VERSION_MAJOR</a>&#160;&#160;&#160;1</td></tr>
<tr class="memdesc:ga9b9c793d300f9f6368c658f462a243ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Driver major version. <br /></td></tr>
<tr class="separator:ga9b9c793d300f9f6368c658f462a243ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga60309b65aae84b24f8000e64afa2d5a9"><td class="memItemLeft" align="right" valign="top"><a id="ga60309b65aae84b24f8000e64afa2d5a9"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__seglcd__macros.html#ga60309b65aae84b24f8000e64afa2d5a9">CY_SEGLCD_DRV_VERSION_MINOR</a>&#160;&#160;&#160;10</td></tr>
<tr class="memdesc:ga60309b65aae84b24f8000e64afa2d5a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Driver minor version. <br /></td></tr>
<tr class="separator:ga60309b65aae84b24f8000e64afa2d5a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2f53e2d201cab9746650fa92a882816a"><td class="memItemLeft" align="right" valign="top"><a id="ga2f53e2d201cab9746650fa92a882816a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__seglcd__macros.html#ga2f53e2d201cab9746650fa92a882816a">CY_SEGLCD_ID</a>&#160;&#160;&#160;(<a class="el" href="group__group__syslib__macros__status__codes.html#ga45c44ce91d1e20c64430f00fd8ad9b0e">CY_PDL_DRV_ID</a>(0x40u))</td></tr>
<tr class="memdesc:ga2f53e2d201cab9746650fa92a882816a"><td class="mdescLeft">&#160;</td><td class="mdescRight">SegLCD driver ID. <br /></td></tr>
<tr class="separator:ga2f53e2d201cab9746650fa92a882816a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e6dba768add09d02fb0cc10371d503a"><td class="memItemLeft" align="right" valign="top"><a id="ga8e6dba768add09d02fb0cc10371d503a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__seglcd__macros.html#ga8e6dba768add09d02fb0cc10371d503a">CY_SEGLCD_NOT_CON</a>&#160;&#160;&#160;(0xFFFFFFFFUL)</td></tr>
<tr class="memdesc:ga8e6dba768add09d02fb0cc10371d503a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies the pixel in the display pixel map array which is not connected. <br /></td></tr>
<tr class="separator:ga8e6dba768add09d02fb0cc10371d503a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaacbf9913c4cf4341e7b0594f1069bab0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__seglcd__macros.html#gaacbf9913c4cf4341e7b0594f1069bab0">CY_SEGLCD_PIXEL</a>(segNum,  comLine)&#160;&#160;&#160;(CY_SEGLCD_ITEM(segNum, comLine))</td></tr>
<tr class="memdesc:gaacbf9913c4cf4341e7b0594f1069bab0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes the pixel identifier from the LCD segment terminal number and the user defined common line number.  <a href="#gaacbf9913c4cf4341e7b0594f1069bab0">More...</a><br /></td></tr>
<tr class="separator:gaacbf9913c4cf4341e7b0594f1069bab0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5da32950a854641868e98c302afe2fe5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__seglcd__macros.html#ga5da32950a854641868e98c302afe2fe5">CY_SEGLCD_COMMON</a>(comNum,  comLine)&#160;&#160;&#160;(CY_SEGLCD_ITEM(comNum, comLine))</td></tr>
<tr class="memdesc:ga5da32950a854641868e98c302afe2fe5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes the common line identifier from the LCD common terminal number and the user defined common line number.  <a href="#ga5da32950a854641868e98c302afe2fe5">More...</a><br /></td></tr>
<tr class="separator:ga5da32950a854641868e98c302afe2fe5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae162a7b29b2a8ff3078d016836f35214"><td class="memItemLeft" align="right" valign="top"><a id="gae162a7b29b2a8ff3078d016836f35214"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__seglcd__macros.html#gae162a7b29b2a8ff3078d016836f35214">CY_SEGLCD_NUM_BLANK</a>&#160;&#160;&#160;((<a class="el" href="group__group__syslib__macros.html#ga40bb5262bf908c328fbcfbe5d29d0201">char_t</a>)16)</td></tr>
<tr class="memdesc:gae162a7b29b2a8ff3078d016836f35214"><td class="mdescLeft">&#160;</td><td class="mdescRight">Space/blank/empty symbol code for the numeric type of fonts. <br /></td></tr>
<tr class="separator:gae162a7b29b2a8ff3078d016836f35214"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabb155f59d5479b6f92a52f36497267ef"><td class="memItemLeft" align="right" valign="top"><a id="gabb155f59d5479b6f92a52f36497267ef"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__seglcd__macros.html#gabb155f59d5479b6f92a52f36497267ef">CY_SEGLCD_14SEG_FONTMAP_SIZE</a>&#160;&#160;&#160;(CY_SYSLIB_DIV_ROUNDUP(<a class="el" href="group__group__seglcd__enums.html#ggad9a3f6a9bdb312ad774c5e55d5f1847caa996630fb5f54b7ec308435a47d0616c">CY_SEGLCD_14SEG</a>, CY_SEGLCD_OCTET))</td></tr>
<tr class="memdesc:gabb155f59d5479b6f92a52f36497267ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">14-segment fontMap array item size (in bytes) <br /></td></tr>
<tr class="separator:gabb155f59d5479b6f92a52f36497267ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae056719851fde97205014b57ba23c7ad"><td class="memItemLeft" align="right" valign="top"><a id="gae056719851fde97205014b57ba23c7ad"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__seglcd__macros.html#gae056719851fde97205014b57ba23c7ad">CY_SEGLCD_16SEG_FONTMAP_SIZE</a>&#160;&#160;&#160;(CY_SYSLIB_DIV_ROUNDUP(<a class="el" href="group__group__seglcd__enums.html#ggad9a3f6a9bdb312ad774c5e55d5f1847cafd6573660be76086be95d54dbb01367e">CY_SEGLCD_16SEG</a>, CY_SEGLCD_OCTET))</td></tr>
<tr class="memdesc:gae056719851fde97205014b57ba23c7ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">16-segment fontMap array item size (in bytes) <br /></td></tr>
<tr class="separator:gae056719851fde97205014b57ba23c7ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7448a2ebc8400bdbaa7d1e01d1d0d995"><td class="memItemLeft" align="right" valign="top"><a id="ga7448a2ebc8400bdbaa7d1e01d1d0d995"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__seglcd__macros.html#ga7448a2ebc8400bdbaa7d1e01d1d0d995">CY_SEGLCD_5X8DM_FONTMAP_SIZE</a>&#160;&#160;&#160;(CY_SYSLIB_DIV_ROUNDUP(<a class="el" href="group__group__seglcd__enums.html#ggad9a3f6a9bdb312ad774c5e55d5f1847cae8cdc28a1a67b99875e43ce5bf5e1b66">CY_SEGLCD_5X8DM</a>, CY_SEGLCD_OCTET))</td></tr>
<tr class="memdesc:ga7448a2ebc8400bdbaa7d1e01d1d0d995"><td class="mdescLeft">&#160;</td><td class="mdescRight">5x8 dot matrix fontMap array item size (in bytes) <br /></td></tr>
<tr class="separator:ga7448a2ebc8400bdbaa7d1e01d1d0d995"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="gaacbf9913c4cf4341e7b0594f1069bab0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaacbf9913c4cf4341e7b0594f1069bab0">&#9670;&nbsp;</a></span>CY_SEGLCD_PIXEL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SEGLCD_PIXEL</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">segNum, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">comLine&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(CY_SEGLCD_ITEM(segNum, comLine))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Makes the pixel identifier from the LCD segment terminal number and the user defined common line number. </p>
<p>It should be used to display pixel map (pixMap) array definitions for <a class="el" href="structcy__stc__seglcd__disp__t.html">cy_stc_seglcd_disp_t</a>. </p>

</div>
</div>
<a id="ga5da32950a854641868e98c302afe2fe5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5da32950a854641868e98c302afe2fe5">&#9670;&nbsp;</a></span>CY_SEGLCD_COMMON</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SEGLCD_COMMON</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">comNum, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">comLine&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(CY_SEGLCD_ITEM(comNum, comLine))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Makes the common line identifier from the LCD common terminal number and the user defined common line number. </p>
<p>It should be used for commons array definitions for <a class="el" href="group__group__seglcd__functions__frame.html#ga7f6bb5486ade2f8fe07ae883b1e59be2">Cy_SegLCD_ClrFrame</a> and <a class="el" href="group__group__seglcd__functions__frame.html#ga85e7982228c5bc991d43bbfbdb138d5c">Cy_SegLCD_InvFrame</a>. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
